﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;//
using System.Windows.Forms;

namespace EmotionRecognitionGui
{
    public partial class MainMenu : BasicForm
    {
        GuiManager guiManager;
        public MainMenu()
        {
            try
            {
            guiManager = GuiManager.Instance;
            InitializeComponent();
        }
            catch (Exception e)
            {
                MessageBox.Show("Error: " + e.ToString());
            }
        }

        protected void label2_Click(object sender, EventArgs e)
        {

        }

        protected void label3_Click(object sender, EventArgs e)
        {

        }


         protected void buttonBack_Click(object sender, EventArgs e)
        {
            guiManager.SwitchForms(this, guiManager.userLoginGui);
        }

        protected void MainMenu_Load(object sender, EventArgs e)
        {

        }

        private void buttonBack_Click_1(object sender, EventArgs e)
        {
            guiManager.userLoginGui.ClearControls();
            guiManager.SwitchForms(this, guiManager.userLoginGui);
            
        }


    }
}
